package com.lbj.domain;

public class Comment {
    private String id ;
    private String content;
    private String topicId;
    private String userId;
    private String createTime;

    public Comment(String id, String content, String topicId, String userId,String createTime ) {
        this.id = id;
        this.content = content;
        this.topicId = topicId;
        this.userId = userId;
        this.createTime = createTime;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public Comment() {
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getTopicId() {
        return topicId;
    }

    public void setTopicId(String topicId) {
        this.topicId = topicId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "Comment{" +
                "id='" + id + '\'' +
                ", content='" + content + '\'' +
                ", topicId='" + topicId + '\'' +
                ", UserId='" + userId + '\'' +
                '}';
    }
}
